#define BOOST_TEST_MAIN MyTest
#include <boost/test/included/unit_test.hpp>
#include "cppTestModels/tyrePump/TyrePump.h"
BOOST_AUTO_TEST_CASE( test0 ){
pressure = 16.223;
n = 1163.79;
temp = 426.459;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8781.95;
const double pumpVolume = 7.9381;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5175);
BOOST_CHECK_CLOSE(pressure,14.5175, 0.001);
BOOST_WARN_EQUAL(n,1169.06);
BOOST_CHECK_CLOSE(n,1169.06, 0.001);
BOOST_WARN_EQUAL(temp,379.906);
BOOST_CHECK_CLOSE(temp,379.906, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test1 ){
pressure = 3.31425;
n = 0.798897;
temp = 343.391;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 23.761;
const double pumpVolume = 3.12796;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,11.8164);
BOOST_CHECK_CLOSE(pressure,11.8164, 0.001);
BOOST_WARN_EQUAL(n,1.67782);
BOOST_CHECK_CLOSE(n,1.67782, 0.001);
BOOST_WARN_EQUAL(temp,582.954);
BOOST_CHECK_CLOSE(temp,582.954, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test2 ){
pressure = 6.42231;
n = 0.797435;
temp = 304.569;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 10.8558;
const double pumpVolume = 1.53936;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,21.0396);
BOOST_CHECK_CLOSE(pressure,21.0396, 0.001);
BOOST_WARN_EQUAL(n,1.54756);
BOOST_CHECK_CLOSE(n,1.54756, 0.001);
BOOST_WARN_EQUAL(temp,514.137);
BOOST_CHECK_CLOSE(temp,514.137, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test3 ){
pressure = 15.6214;
n = 314.117;
temp = 442.603;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 2554.79;
const double pumpVolume = 0.0479797;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.7158);
BOOST_CHECK_CLOSE(pressure,13.7158, 0.001);
BOOST_WARN_EQUAL(n,314.147);
BOOST_CHECK_CLOSE(n,314.147, 0.001);
BOOST_WARN_EQUAL(temp,388.575);
BOOST_CHECK_CLOSE(temp,388.575, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test4 ){
pressure = 8.40614;
n = 2.48059;
temp = 328.639;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = -4968.0;
const double volume = 27.8385;
const double pumpVolume = 1.87116;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,9.44826);
BOOST_CHECK_CLOSE(pressure,9.44826, 0.001);
BOOST_WARN_EQUAL(n,2.64732);
BOOST_CHECK_CLOSE(n,2.64732, 0.001);
BOOST_WARN_EQUAL(temp,346.116);
BOOST_CHECK_CLOSE(temp,346.116, 0.001);
BOOST_CHECK_EQUAL(counter,-4969);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test5 ){
pressure = 5.61329;
n = 2.50009;
temp = 308.206;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 39.4048;
const double pumpVolume = 10.4436;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,31.4981);
BOOST_CHECK_CLOSE(pressure,31.4981, 0.001);
BOOST_WARN_EQUAL(n,6.40273);
BOOST_CHECK_CLOSE(n,6.40273, 0.001);
BOOST_WARN_EQUAL(temp,675.303);
BOOST_CHECK_CLOSE(temp,675.303, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test6 ){
pressure = 8.8513;
n = 56.4102;
temp = 307.281;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 562.155;
const double pumpVolume = 146.667;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,72.5856);
BOOST_CHECK_CLOSE(pressure,72.5856, 0.001);
BOOST_WARN_EQUAL(n,179.788);
BOOST_CHECK_CLOSE(n,179.788, 0.001);
BOOST_WARN_EQUAL(temp,790.634);
BOOST_CHECK_CLOSE(temp,790.634, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test7 ){
pressure = 10.6066;
n = 958.618;
temp = 317.227;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 8230.15;
const double pumpVolume = 229.962;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,11.6513);
BOOST_CHECK_CLOSE(pressure,11.6513, 0.001);
BOOST_WARN_EQUAL(n,1012.94);
BOOST_CHECK_CLOSE(n,1012.94, 0.001);
BOOST_WARN_EQUAL(temp,329.785);
BOOST_CHECK_CLOSE(temp,329.785, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test8 ){
pressure = 8.40375;
n = 8.36371;
temp = 305.988;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 87.4178;
const double pumpVolume = 8.24319;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,18.6649);
BOOST_CHECK_CLOSE(pressure,18.6649, 0.001);
BOOST_WARN_EQUAL(n,13.1242);
BOOST_CHECK_CLOSE(n,13.1242, 0.001);
BOOST_WARN_EQUAL(temp,433.094);
BOOST_CHECK_CLOSE(temp,433.094, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test9 ){
pressure = 12.4172;
n = 87.2242;
temp = 300.871;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 606.688;
const double pumpVolume = 46.2396;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,23.8529);
BOOST_CHECK_CLOSE(pressure,23.8529, 0.001);
BOOST_WARN_EQUAL(n,125.932);
BOOST_CHECK_CLOSE(n,125.932, 0.001);
BOOST_WARN_EQUAL(temp,400.314);
BOOST_CHECK_CLOSE(temp,400.314, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test10 ){
pressure = 15.1579;
n = 2.49677;
temp = 427.037;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 20.1918;
const double pumpVolume = 0.0137233;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.7973);
BOOST_CHECK_CLOSE(pressure,13.7973, 0.001);
BOOST_WARN_EQUAL(n,2.50356);
BOOST_CHECK_CLOSE(n,2.50356, 0.001);
BOOST_WARN_EQUAL(temp,387.651);
BOOST_CHECK_CLOSE(temp,387.651, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test11 ){
pressure = 16.0408;
n = 3.36221;
temp = 441.938;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 26.5907;
const double pumpVolume = 0.00195215;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.0972);
BOOST_CHECK_CLOSE(pressure,14.0972, 0.001);
BOOST_WARN_EQUAL(n,3.36345);
BOOST_CHECK_CLOSE(n,3.36345, 0.001);
BOOST_WARN_EQUAL(temp,388.248);
BOOST_CHECK_CLOSE(temp,388.248, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test12 ){
pressure = 8.08417;
n = 122.671;
temp = 303.773;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 1323.21;
const double pumpVolume = 97.3148;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,16.9717);
BOOST_CHECK_CLOSE(pressure,16.9717, 0.001);
BOOST_WARN_EQUAL(n,187.787);
BOOST_CHECK_CLOSE(n,187.787, 0.001);
BOOST_WARN_EQUAL(temp,416.598);
BOOST_CHECK_CLOSE(temp,416.598, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test13 ){
pressure = 7.66291;
n = 2.06219;
temp = 455.212;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 35.1656;
const double pumpVolume = 0.0119156;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.54872);
BOOST_CHECK_CLOSE(pressure,6.54872, 0.001);
BOOST_WARN_EQUAL(n,2.06638);
BOOST_CHECK_CLOSE(n,2.06638, 0.001);
BOOST_WARN_EQUAL(temp,388.234);
BOOST_CHECK_CLOSE(temp,388.234, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test14 ){
pressure = 7277.47;
n = 459.187;
temp = 408.895;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 7.40611;
const double pumpVolume = 0.00161335;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,6555.64);
BOOST_CHECK_CLOSE(pressure,6555.64, 0.001);
BOOST_WARN_EQUAL(n,459.687);
BOOST_CHECK_CLOSE(n,459.687, 0.001);
BOOST_WARN_EQUAL(temp,367.937);
BOOST_CHECK_CLOSE(temp,367.937, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test15 ){
pressure = 12.7348;
n = 4.95947;
temp = 305.974;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 34.2056;
const double pumpVolume = 1.21244;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,16.2707);
BOOST_CHECK_CLOSE(pressure,16.2707, 0.001);
BOOST_WARN_EQUAL(n,5.70091);
BOOST_CHECK_CLOSE(n,5.70091, 0.001);
BOOST_WARN_EQUAL(temp,340.086);
BOOST_CHECK_CLOSE(temp,340.086, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test16 ){
pressure = 4.26789;
n = 1.54245;
temp = 337.685;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 35.0332;
const double pumpVolume = 7.92858;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,18.607);
BOOST_CHECK_CLOSE(pressure,18.607, 0.001);
BOOST_WARN_EQUAL(n,3.48836);
BOOST_CHECK_CLOSE(n,3.48836, 0.001);
BOOST_WARN_EQUAL(temp,650.978);
BOOST_CHECK_CLOSE(temp,650.978, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test17 ){
pressure = 9.70409;
n = 31.1484;
temp = 313.541;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 288.898;
const double pumpVolume = 18.1453;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,16.4291);
BOOST_CHECK_CLOSE(pressure,16.4291, 0.001);
BOOST_WARN_EQUAL(n,42.2388);
BOOST_CHECK_CLOSE(n,42.2388, 0.001);
BOOST_WARN_EQUAL(temp,391.451);
BOOST_CHECK_CLOSE(temp,391.451, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test18 ){
pressure = 7.59173;
n = 1.09101;
temp = 331.984;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 13.6954;
const double pumpVolume = 2.24228;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,17.2894);
BOOST_CHECK_CLOSE(pressure,17.2894, 0.001);
BOOST_WARN_EQUAL(n,1.71941);
BOOST_CHECK_CLOSE(n,1.71941, 0.001);
BOOST_WARN_EQUAL(temp,479.738);
BOOST_CHECK_CLOSE(temp,479.738, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test19 ){
pressure = 15.2163;
n = 1218.85;
temp = 355.295;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 8169.57;
const double pumpVolume = 4.896;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.2746);
BOOST_CHECK_CLOSE(pressure,14.2746, 0.001);
BOOST_WARN_EQUAL(n,1223.24);
BOOST_CHECK_CLOSE(n,1223.24, 0.001);
BOOST_WARN_EQUAL(temp,332.109);
BOOST_CHECK_CLOSE(temp,332.109, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test20 ){
pressure = 14.3658;
n = 912.347;
temp = 399.446;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 7282.11;
const double pumpVolume = 127.82;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.2213);
BOOST_CHECK_CLOSE(pressure,15.2213, 0.001);
BOOST_WARN_EQUAL(n,995.277);
BOOST_CHECK_CLOSE(n,995.277, 0.001);
BOOST_WARN_EQUAL(temp,387.967);
BOOST_CHECK_CLOSE(temp,387.967, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test21 ){
pressure = 8.43699;
n = 12.9626;
temp = 311.079;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 137.197;
const double pumpVolume = 16.9159;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.9466);
BOOST_CHECK_CLOSE(pressure,15.9466, 0.001);
BOOST_WARN_EQUAL(n,18.3727);
BOOST_CHECK_CLOSE(n,18.3727, 0.001);
BOOST_WARN_EQUAL(temp,414.829);
BOOST_CHECK_CLOSE(temp,414.829, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test22 ){
pressure = 16.1205;
n = 1169.49;
temp = 414.5;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8632.06;
const double pumpVolume = 7.59808;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5475);
BOOST_CHECK_CLOSE(pressure,14.5475, 0.001);
BOOST_WARN_EQUAL(n,1174.65);
BOOST_CHECK_CLOSE(n,1174.65, 0.001);
BOOST_WARN_EQUAL(temp,372.412);
BOOST_CHECK_CLOSE(temp,372.412, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test23 ){
pressure = 3.32882;
n = 6.05715;
temp = 306.026;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 159.847;
const double pumpVolume = 43.3873;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,19.43);
BOOST_CHECK_CLOSE(pressure,19.43, 0.001);
BOOST_WARN_EQUAL(n,15.8284);
BOOST_CHECK_CLOSE(n,15.8284, 0.001);
BOOST_WARN_EQUAL(temp,683.552);
BOOST_CHECK_CLOSE(temp,683.552, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test24 ){
pressure = 216.602;
n = 8.36288;
temp = 307.12;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 3.40386;
const double pumpVolume = 0.895336;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,1201.9);
BOOST_CHECK_CLOSE(pressure,1201.9, 0.001);
BOOST_WARN_EQUAL(n,21.2823);
BOOST_CHECK_CLOSE(n,21.2823, 0.001);
BOOST_WARN_EQUAL(temp,669.656);
BOOST_CHECK_CLOSE(temp,669.656, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test25 ){
pressure = 1255.19;
n = 56.7605;
temp = 311.505;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 4.04361;
const double pumpVolume = 0.269402;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,2199.39);
BOOST_CHECK_CLOSE(pressure,2199.39, 0.001);
BOOST_WARN_EQUAL(n,78.3615);
BOOST_CHECK_CLOSE(n,78.3615, 0.001);
BOOST_WARN_EQUAL(temp,395.365);
BOOST_CHECK_CLOSE(temp,395.365, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test26 ){
pressure = 4.23147;
n = 380.958;
temp = 306.291;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 7915.72;
const double pumpVolume = 1080.09;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,16.3767);
BOOST_CHECK_CLOSE(pressure,16.3767, 0.001);
BOOST_WARN_EQUAL(n,820.685);
BOOST_CHECK_CLOSE(n,820.685, 0.001);
BOOST_WARN_EQUAL(temp,550.264);
BOOST_CHECK_CLOSE(temp,550.264, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test27 ){
pressure = 6.91766;
n = 0.832383;
temp = 304.238;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 10.5087;
const double pumpVolume = 1.03532;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,18.5753);
BOOST_CHECK_CLOSE(pressure,18.5753, 0.001);
BOOST_WARN_EQUAL(n,1.46276);
BOOST_CHECK_CLOSE(n,1.46276, 0.001);
BOOST_WARN_EQUAL(temp,464.879);
BOOST_CHECK_CLOSE(temp,464.879, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test28 ){
pressure = 14.213;
n = 1.66458;
temp = 1367.52;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 45.9751;
const double pumpVolume = 1.29657;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.7082);
BOOST_CHECK_CLOSE(pressure,13.7082, 0.001);
BOOST_WARN_EQUAL(n,1.75979);
BOOST_CHECK_CLOSE(n,1.75979, 0.001);
BOOST_WARN_EQUAL(temp,1247.59);
BOOST_CHECK_CLOSE(temp,1247.59, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test29 ){
pressure = 14.1938;
n = 3.58793;
temp = 394.935;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 28.6576;
const double pumpVolume = 0.450183;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6993);
BOOST_CHECK_CLOSE(pressure,14.6993, 0.001);
BOOST_WARN_EQUAL(n,3.81875);
BOOST_CHECK_CLOSE(n,3.81875, 0.001);
BOOST_WARN_EQUAL(temp,384.279);
BOOST_CHECK_CLOSE(temp,384.279, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test30 ){
pressure = 8.44809;
n = 14.1363;
temp = 311.296;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 149.527;
const double pumpVolume = 8.53693;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.9073);
BOOST_CHECK_CLOSE(pressure,14.9073, 0.001);
BOOST_WARN_EQUAL(n,19.7248);
BOOST_CHECK_CLOSE(n,19.7248, 0.001);
BOOST_WARN_EQUAL(temp,393.672);
BOOST_CHECK_CLOSE(temp,393.672, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test31 ){
pressure = 11.4523;
n = 3.39299;
temp = 426.698;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 36.2895;
const double pumpVolume = 0.0374877;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,10.4535);
BOOST_CHECK_CLOSE(pressure,10.4535, 0.001);
BOOST_WARN_EQUAL(n,3.40703);
BOOST_CHECK_CLOSE(n,3.40703, 0.001);
BOOST_WARN_EQUAL(temp,387.878);
BOOST_CHECK_CLOSE(temp,387.878, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test32 ){
pressure = 13.9479;
n = 0.653586;
temp = 397.085;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 5.3413;
const double pumpVolume = 0.0977783;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.9045);
BOOST_CHECK_CLOSE(pressure,14.9045, 0.001);
BOOST_WARN_EQUAL(n,0.71564);
BOOST_CHECK_CLOSE(n,0.71564, 0.001);
BOOST_WARN_EQUAL(temp,387.526);
BOOST_CHECK_CLOSE(temp,387.526, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test33 ){
pressure = 14.6345;
n = 1.8987;
temp = 300.248;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 11.1822;
const double pumpVolume = 0.419382;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,20.2637);
BOOST_CHECK_CLOSE(pressure,20.2637, 0.001);
BOOST_WARN_EQUAL(n,2.28247);
BOOST_CHECK_CLOSE(n,2.28247, 0.001);
BOOST_WARN_EQUAL(temp,345.837);
BOOST_CHECK_CLOSE(temp,345.837, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test34 ){
pressure = 15.8569;
n = 8.54092;
temp = 361.515;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 55.8963;
const double pumpVolume = 0.0129745;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.7177);
BOOST_CHECK_CLOSE(pressure,14.7177, 0.001);
BOOST_WARN_EQUAL(n,8.55282);
BOOST_CHECK_CLOSE(n,8.55282, 0.001);
BOOST_WARN_EQUAL(temp,335.076);
BOOST_CHECK_CLOSE(temp,335.076, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test35 ){
pressure = 16.6917;
n = 1.0614;
temp = 1988.01;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 36.2884;
const double pumpVolume = 0.0484413;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,11.467);
BOOST_CHECK_CLOSE(pressure,11.467, 0.001);
BOOST_WARN_EQUAL(n,1.06851);
BOOST_CHECK_CLOSE(n,1.06851, 0.001);
BOOST_WARN_EQUAL(temp,1356.66);
BOOST_CHECK_CLOSE(temp,1356.66, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test36 ){
pressure = 15.0563;
n = 336.43;
temp = 403.209;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 2586.29;
const double pumpVolume = 3.14889;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.9585);
BOOST_CHECK_CLOSE(pressure,13.9585, 0.001);
BOOST_WARN_EQUAL(n,338.072);
BOOST_CHECK_CLOSE(n,338.072, 0.001);
BOOST_WARN_EQUAL(temp,371.997);
BOOST_CHECK_CLOSE(temp,371.997, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test37 ){
pressure = 14.3894;
n = 7.41054;
temp = 394.195;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 58.2757;
const double pumpVolume = 0.988519;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.2278);
BOOST_CHECK_CLOSE(pressure,15.2278, 0.001);
BOOST_WARN_EQUAL(n,8.06075);
BOOST_CHECK_CLOSE(n,8.06075, 0.001);
BOOST_WARN_EQUAL(temp,383.512);
BOOST_CHECK_CLOSE(temp,383.512, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test38 ){
pressure = 17.4532;
n = 1.47163;
temp = 3336.55;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 80.7595;
const double pumpVolume = 0.506848;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,12.1575);
BOOST_CHECK_CLOSE(pressure,12.1575, 0.001);
BOOST_WARN_EQUAL(n,1.5184);
BOOST_CHECK_CLOSE(n,1.5184, 0.001);
BOOST_WARN_EQUAL(temp,2252.59);
BOOST_CHECK_CLOSE(temp,2252.59, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test39 ){
pressure = 7.25529;
n = 3.01474;
temp = 317.289;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 37.846;
const double pumpVolume = 0.0176731;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,7.1754);
BOOST_CHECK_CLOSE(pressure,7.1754, 0.001);
BOOST_WARN_EQUAL(n,3.01896);
BOOST_CHECK_CLOSE(n,3.01896, 0.001);
BOOST_WARN_EQUAL(temp,313.357);
BOOST_CHECK_CLOSE(temp,313.357, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test40 ){
pressure = 5.65588;
n = 1.09184;
temp = 3842.32;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 212.923;
const double pumpVolume = 57.8031;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,18.2425);
BOOST_CHECK_CLOSE(pressure,18.2425, 0.001);
BOOST_WARN_EQUAL(n,2.2443);
BOOST_CHECK_CLOSE(n,2.2443, 0.001);
BOOST_WARN_EQUAL(temp,6029.12);
BOOST_CHECK_CLOSE(temp,6029.12, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test41 ){
pressure = 8.01233;
n = 19.8948;
temp = 328.93;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 234.452;
const double pumpVolume = 20.2962;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,14.2695);
BOOST_CHECK_CLOSE(pressure,14.2695, 0.001);
BOOST_WARN_EQUAL(n,27.7311);
BOOST_CHECK_CLOSE(n,27.7311, 0.001);
BOOST_WARN_EQUAL(temp,420.266);
BOOST_CHECK_CLOSE(temp,420.266, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test42 ){
pressure = 13.9515;
n = 3.24604;
temp = 394.44;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 26.3441;
const double pumpVolume = 0.436232;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.7087);
BOOST_CHECK_CLOSE(pressure,14.7087, 0.001);
BOOST_WARN_EQUAL(n,3.52384);
BOOST_CHECK_CLOSE(n,3.52384, 0.001);
BOOST_WARN_EQUAL(temp,383.063);
BOOST_CHECK_CLOSE(temp,383.063, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test43 ){
pressure = 15.488;
n = 12.9703;
temp = 415.889;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 99.9773;
const double pumpVolume = 0.0747011;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.4752);
BOOST_CHECK_CLOSE(pressure,14.4752, 0.001);
BOOST_WARN_EQUAL(n,12.9994);
BOOST_CHECK_CLOSE(n,12.9994, 0.001);
BOOST_WARN_EQUAL(temp,387.822);
BOOST_CHECK_CLOSE(temp,387.822, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test44 ){
pressure = 14.9082;
n = 0.705813;
temp = 2717.09;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 36.9265;
const double pumpVolume = 0.308067;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,10.7191);
BOOST_CHECK_CLOSE(pressure,10.7191, 0.001);
BOOST_WARN_EQUAL(n,0.73575);
BOOST_CHECK_CLOSE(n,0.73575, 0.001);
BOOST_WARN_EQUAL(temp,1874.11);
BOOST_CHECK_CLOSE(temp,1874.11, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test45 ){
pressure = 16.1194;
n = 3.3846;
temp = 403.773;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 24.3369;
const double pumpVolume = 0.00262449;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.3315);
BOOST_CHECK_CLOSE(pressure,14.3315, 0.001);
BOOST_WARN_EQUAL(n,3.38679);
BOOST_CHECK_CLOSE(n,3.38679, 0.001);
BOOST_WARN_EQUAL(temp,358.756);
BOOST_CHECK_CLOSE(temp,358.756, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test46 ){
pressure = 15.0947;
n = 5.51631;
temp = 415.098;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 43.5456;
const double pumpVolume = 0.0144117;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.5485);
BOOST_CHECK_CLOSE(pressure,13.5485, 0.001);
BOOST_WARN_EQUAL(n,5.52545);
BOOST_CHECK_CLOSE(n,5.52545, 0.001);
BOOST_WARN_EQUAL(temp,371.962);
BOOST_CHECK_CLOSE(temp,371.962, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test47 ){
pressure = 17.7078;
n = 2.10112;
temp = 1746.48;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 59.4867;
const double pumpVolume = 0.793783;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.8158);
BOOST_CHECK_CLOSE(pressure,13.8158, 0.001);
BOOST_WARN_EQUAL(n,2.2451);
BOOST_CHECK_CLOSE(n,2.2451, 0.001);
BOOST_WARN_EQUAL(temp,1275.24);
BOOST_CHECK_CLOSE(temp,1275.24, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test48 ){
pressure = 15.2291;
n = 5.8286;
temp = 357.676;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 39.2962;
const double pumpVolume = 0.0253866;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5186);
BOOST_CHECK_CLOSE(pressure,14.5186, 0.001);
BOOST_WARN_EQUAL(n,5.84367);
BOOST_CHECK_CLOSE(n,5.84367, 0.001);
BOOST_WARN_EQUAL(temp,340.11);
BOOST_CHECK_CLOSE(temp,340.11, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test49 ){
pressure = 15.8594;
n = 5.61252;
temp = 426.82;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 43.3597;
const double pumpVolume = 0.0480112;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.4831);
BOOST_CHECK_CLOSE(pressure,14.4831, 0.001);
BOOST_WARN_EQUAL(n,5.63742);
BOOST_CHECK_CLOSE(n,5.63742, 0.001);
BOOST_WARN_EQUAL(temp,388.059);
BOOST_CHECK_CLOSE(temp,388.059, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test50 ){
pressure = 14.2316;
n = 2.89086;
temp = 397.068;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 23.153;
const double pumpVolume = 0.395073;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.0409);
BOOST_CHECK_CLOSE(pressure,15.0409, 0.001);
BOOST_WARN_EQUAL(n,3.14606);
BOOST_CHECK_CLOSE(n,3.14606, 0.001);
BOOST_WARN_EQUAL(temp,385.607);
BOOST_CHECK_CLOSE(temp,385.607, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test51 ){
pressure = 12.2721;
n = 2.09316;
temp = 309.057;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 15.1319;
const double pumpVolume = 0.443471;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.9745);
BOOST_CHECK_CLOSE(pressure,14.9745, 0.001);
BOOST_WARN_EQUAL(n,2.34954);
BOOST_CHECK_CLOSE(n,2.34954, 0.001);
BOOST_WARN_EQUAL(temp,335.963);
BOOST_CHECK_CLOSE(temp,335.963, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test52 ){
pressure = 9.4841;
n = 573.69;
temp = 424.457;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 7370.29;
const double pumpVolume = 14.3977;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,8.57999);
BOOST_CHECK_CLOSE(pressure,8.57999, 0.001);
BOOST_WARN_EQUAL(n,579.316);
BOOST_CHECK_CLOSE(n,579.316, 0.001);
BOOST_WARN_EQUAL(temp,380.265);
BOOST_CHECK_CLOSE(temp,380.265, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test53 ){
pressure = 57.5415;
n = 1.83401;
temp = 433.575;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 3.96693;
const double pumpVolume = 0.0190876;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,53.0802);
BOOST_CHECK_CLOSE(pressure,53.0802, 0.001);
BOOST_WARN_EQUAL(n,1.87856);
BOOST_CHECK_CLOSE(n,1.87856, 0.001);
BOOST_WARN_EQUAL(temp,390.474);
BOOST_CHECK_CLOSE(temp,390.474, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test54 ){
pressure = 18.4441;
n = 4.53937;
temp = 5969.16;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 421.716;
const double pumpVolume = 1.82632;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.3415);
BOOST_CHECK_CLOSE(pressure,13.3415, 0.001);
BOOST_WARN_EQUAL(n,4.61852);
BOOST_CHECK_CLOSE(n,4.61852, 0.001);
BOOST_WARN_EQUAL(temp,4243.77);
BOOST_CHECK_CLOSE(temp,4243.77, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test55 ){
pressure = 154.226;
n = 2.75553;
temp = 533.423;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 2.73583;
const double pumpVolume = 0.159057;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,216.975);
BOOST_CHECK_CLOSE(pressure,216.975, 0.001);
BOOST_WARN_EQUAL(n,3.65526);
BOOST_CHECK_CLOSE(n,3.65526, 0.001);
BOOST_WARN_EQUAL(temp,565.732);
BOOST_CHECK_CLOSE(temp,565.732, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test56 ){
pressure = 4.40751;
n = 1.03423;
temp = 328.827;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 22.1493;
const double pumpVolume = 3.75608;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,17.6469);
BOOST_CHECK_CLOSE(pressure,17.6469, 0.001);
BOOST_WARN_EQUAL(n,2.26342);
BOOST_CHECK_CLOSE(n,2.26342, 0.001);
BOOST_WARN_EQUAL(temp,601.583);
BOOST_CHECK_CLOSE(temp,601.583, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test57 ){
pressure = 7.19745;
n = 654.092;
temp = 306.651;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 7999.7;
const double pumpVolume = 743.753;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.8006);
BOOST_CHECK_CLOSE(pressure,15.8006, 0.001);
BOOST_WARN_EQUAL(n,1020.2);
BOOST_CHECK_CLOSE(n,1020.2, 0.001);
BOOST_WARN_EQUAL(temp,431.613);
BOOST_CHECK_CLOSE(temp,431.613, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test58 ){
pressure = 8.37898;
n = 1.97748;
temp = 304.801;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 20.6495;
const double pumpVolume = 2.88329;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,26.9693);
BOOST_CHECK_CLOSE(pressure,26.9693, 0.001);
BOOST_WARN_EQUAL(n,3.80131);
BOOST_CHECK_CLOSE(n,3.80131, 0.001);
BOOST_WARN_EQUAL(temp,510.359);
BOOST_CHECK_CLOSE(temp,510.359, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test59 ){
pressure = 81.0785;
n = 5.22413;
temp = 400.541;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 7.40841;
const double pumpVolume = 0.0530479;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,79.6742);
BOOST_CHECK_CLOSE(pressure,79.6742, 0.001);
BOOST_WARN_EQUAL(n,5.29922);
BOOST_CHECK_CLOSE(n,5.29922, 0.001);
BOOST_WARN_EQUAL(temp,388.027);
BOOST_CHECK_CLOSE(temp,388.027, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test60 ){
pressure = 12.7094;
n = 5.80755;
temp = 309.651;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 40.6172;
const double pumpVolume = 2.55407;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,17.6653);
BOOST_CHECK_CLOSE(pressure,17.6653, 0.001);
BOOST_WARN_EQUAL(n,6.97344);
BOOST_CHECK_CLOSE(n,6.97344, 0.001);
BOOST_WARN_EQUAL(temp,358.438);
BOOST_CHECK_CLOSE(temp,358.438, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test61 ){
pressure = 11.4282;
n = 1.62078;
temp = 309.686;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 12.6077;
const double pumpVolume = 0.728984;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.4688);
BOOST_CHECK_CLOSE(pressure,15.4688, 0.001);
BOOST_WARN_EQUAL(n,1.91849);
BOOST_CHECK_CLOSE(n,1.91849, 0.001);
BOOST_WARN_EQUAL(temp,354.131);
BOOST_CHECK_CLOSE(temp,354.131, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test62 ){
pressure = 9.15948;
n = 7.09881;
temp = 310.49;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 69.0768;
const double pumpVolume = 8.01471;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,20.158);
BOOST_CHECK_CLOSE(pressure,20.158, 0.001);
BOOST_WARN_EQUAL(n,11.0124);
BOOST_CHECK_CLOSE(n,11.0124, 0.001);
BOOST_WARN_EQUAL(temp,440.482);
BOOST_CHECK_CLOSE(temp,440.482, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test63 ){
pressure = 905.355;
n = 24.1067;
temp = 424.637;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 3.24568;
const double pumpVolume = 0.00790669;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,835.948);
BOOST_CHECK_CLOSE(pressure,835.948, 0.001);
BOOST_WARN_EQUAL(n,24.3424);
BOOST_CHECK_CLOSE(n,24.3424, 0.001);
BOOST_WARN_EQUAL(temp,388.286);
BOOST_CHECK_CLOSE(temp,388.286, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test64 ){
pressure = 15.4394;
n = 1097.01;
temp = 414.375;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8451.67;
const double pumpVolume = 8.04128;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.9431);
BOOST_CHECK_CLOSE(pressure,13.9431, 0.001);
BOOST_WARN_EQUAL(n,1102.24);
BOOST_CHECK_CLOSE(n,1102.24, 0.001);
BOOST_WARN_EQUAL(temp,372.441);
BOOST_CHECK_CLOSE(temp,372.441, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test65 ){
pressure = 16.7962;
n = 0.773104;
temp = 3817.96;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 50.446;
const double pumpVolume = 0.317694;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.4401);
BOOST_CHECK_CLOSE(pressure,13.4401, 0.001);
BOOST_WARN_EQUAL(n,0.787802);
BOOST_CHECK_CLOSE(n,0.787802, 0.001);
BOOST_WARN_EQUAL(temp,2998.07);
BOOST_CHECK_CLOSE(temp,2998.07, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test66 ){
pressure = 14.3446;
n = 6.67054;
temp = 398.933;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 53.2528;
const double pumpVolume = 0.965739;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.0799);
BOOST_CHECK_CLOSE(pressure,15.0799, 0.001);
BOOST_WARN_EQUAL(n,7.16774);
BOOST_CHECK_CLOSE(n,7.16774, 0.001);
BOOST_WARN_EQUAL(temp,390.292);
BOOST_CHECK_CLOSE(temp,390.292, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test67 ){
pressure = 28.4844;
n = 0.983287;
temp = 771.847;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 7.64845;
const double pumpVolume = 1.63334;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,101.697);
BOOST_CHECK_CLOSE(pressure,101.697, 0.001);
BOOST_WARN_EQUAL(n,2.13262);
BOOST_CHECK_CLOSE(n,2.13262, 0.001);
BOOST_WARN_EQUAL(temp,1270.57);
BOOST_CHECK_CLOSE(temp,1270.57, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test68 ){
pressure = 13.8498;
n = 680.813;
temp = 400.76;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 5655.08;
const double pumpVolume = 93.9386;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6993);
BOOST_CHECK_CLOSE(pressure,14.6993, 0.001);
BOOST_WARN_EQUAL(n,751.55);
BOOST_CHECK_CLOSE(n,751.55, 0.001);
BOOST_WARN_EQUAL(temp,385.309);
BOOST_CHECK_CLOSE(temp,385.309, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test69 ){
pressure = 4018.03;
n = 3754.38;
temp = 5239.29;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 1405.3;
const double pumpVolume = 152.363;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,5063.99);
BOOST_CHECK_CLOSE(pressure,5063.99, 0.001);
BOOST_WARN_EQUAL(n,4612.62);
BOOST_CHECK_CLOSE(n,4612.62, 0.001);
BOOST_WARN_EQUAL(temp,5374.57);
BOOST_CHECK_CLOSE(temp,5374.57, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test70 ){
pressure = 19.1708;
n = 0.662998;
temp = 309.72;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = -6443.0;
const double volume = 3.07475;
const double pumpVolume = 0.531581;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,25.955);
BOOST_CHECK_CLOSE(pressure,25.955, 0.001);
BOOST_WARN_EQUAL(n,0.777621);
BOOST_CHECK_CLOSE(n,0.777621, 0.001);
BOOST_WARN_EQUAL(temp,357.514);
BOOST_CHECK_CLOSE(temp,357.514, 0.001);
BOOST_CHECK_EQUAL(counter,-6444);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test71 ){
pressure = 14.228;
n = 3.24476;
temp = 394.223;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 25.8078;
const double pumpVolume = 0.437691;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.0562);
BOOST_CHECK_CLOSE(pressure,15.0562, 0.001);
BOOST_WARN_EQUAL(n,3.52941);
BOOST_CHECK_CLOSE(n,3.52941, 0.001);
BOOST_WARN_EQUAL(temp,383.526);
BOOST_CHECK_CLOSE(temp,383.526, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test72 ){
pressure = 14.3658;
n = 226.558;
temp = 396.913;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 1796.87;
const double pumpVolume = 31.3455;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.2361);
BOOST_CHECK_CLOSE(pressure,15.2361, 0.001);
BOOST_WARN_EQUAL(n,247.021);
BOOST_CHECK_CLOSE(n,247.021, 0.001);
BOOST_WARN_EQUAL(temp,386.086);
BOOST_CHECK_CLOSE(temp,386.086, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test73 ){
pressure = 1630.46;
n = 107.318;
temp = 330.014;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 6.23538;
const double pumpVolume = 1.16668;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,7487.11);
BOOST_CHECK_CLOSE(pressure,7487.11, 0.001);
BOOST_WARN_EQUAL(n,253.0);
BOOST_CHECK_CLOSE(n,253.0, 0.001);
BOOST_WARN_EQUAL(temp,642.818);
BOOST_CHECK_CLOSE(temp,642.818, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test74 ){
pressure = 5.6488;
n = 1.13683;
temp = 313.24;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 18.0961;
const double pumpVolume = 0.186517;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.00037);
BOOST_CHECK_CLOSE(pressure,6.00037, 0.001);
BOOST_WARN_EQUAL(n,1.18442);
BOOST_CHECK_CLOSE(n,1.18442, 0.001);
BOOST_WARN_EQUAL(temp,319.364);
BOOST_CHECK_CLOSE(temp,319.364, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test75 ){
pressure = 16.0226;
n = 1193.74;
temp = 403.469;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8628.91;
const double pumpVolume = 7.3813;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5768);
BOOST_CHECK_CLOSE(pressure,14.5768, 0.001);
BOOST_WARN_EQUAL(n,1198.85);
BOOST_CHECK_CLOSE(n,1198.85, 0.001);
BOOST_WARN_EQUAL(temp,365.496);
BOOST_CHECK_CLOSE(temp,365.496, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test76 ){
pressure = 15.1287;
n = 109.488;
temp = 4087.97;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 8492.61;
const double pumpVolume = 92.422;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,12.4172);
BOOST_CHECK_CLOSE(pressure,12.4172, 0.001);
BOOST_WARN_EQUAL(n,113.101);
BOOST_CHECK_CLOSE(n,113.101, 0.001);
BOOST_WARN_EQUAL(temp,3248.09);
BOOST_CHECK_CLOSE(temp,3248.09, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test77 ){
pressure = 13.8589;
n = 2.48505;
temp = 399.281;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 20.552;
const double pumpVolume = 0.363007;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.7004);
BOOST_CHECK_CLOSE(pressure,14.7004, 0.001);
BOOST_WARN_EQUAL(n,2.7124);
BOOST_CHECK_CLOSE(n,2.7124, 0.001);
BOOST_WARN_EQUAL(temp,388.026);
BOOST_CHECK_CLOSE(temp,388.026, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test78 ){
pressure = 2.41853;
n = 1.22672;
temp = 698.491;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 101.701;
const double pumpVolume = 6.79016;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,3.48006);
BOOST_CHECK_CLOSE(pressure,3.48006, 0.001);
BOOST_WARN_EQUAL(n,1.69469);
BOOST_CHECK_CLOSE(n,1.69469, 0.001);
BOOST_WARN_EQUAL(temp,727.53);
BOOST_CHECK_CLOSE(temp,727.53, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test79 ){
pressure = 15.4791;
n = 748.05;
temp = 426.347;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 5914.49;
const double pumpVolume = 5.80367;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.8626);
BOOST_CHECK_CLOSE(pressure,13.8626, 0.001);
BOOST_WARN_EQUAL(n,751.727);
BOOST_CHECK_CLOSE(n,751.727, 0.001);
BOOST_WARN_EQUAL(temp,379.955);
BOOST_CHECK_CLOSE(temp,379.955, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test80 ){
pressure = 6.65597;
n = 0.675379;
temp = 415.978;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 12.1165;
const double pumpVolume = 0.00423678;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.20662);
BOOST_CHECK_CLOSE(pressure,6.20662, 0.001);
BOOST_WARN_EQUAL(n,0.676088);
BOOST_CHECK_CLOSE(n,0.676088, 0.001);
BOOST_WARN_EQUAL(temp,387.489);
BOOST_CHECK_CLOSE(temp,387.489, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test81 ){
pressure = 10.1198;
n = 47.6395;
temp = 311.53;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 420.985;
const double pumpVolume = 85.3166;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,38.7686);
BOOST_CHECK_CLOSE(pressure,38.7686, 0.001);
BOOST_WARN_EQUAL(n,99.664);
BOOST_CHECK_CLOSE(n,99.664, 0.001);
BOOST_WARN_EQUAL(temp,570.478);
BOOST_CHECK_CLOSE(temp,570.478, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test82 ){
pressure = 15.3941;
n = 1123.69;
temp = 403.458;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 8453.94;
const double pumpVolume = 9.36005;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.258);
BOOST_CHECK_CLOSE(pressure,14.258, 0.001);
BOOST_WARN_EQUAL(n,1128.67);
BOOST_CHECK_CLOSE(n,1128.67, 0.001);
BOOST_WARN_EQUAL(temp,372.031);
BOOST_CHECK_CLOSE(temp,372.031, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test83 ){
pressure = 5.65085;
n = 0.585487;
temp = 310.312;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 9.22936;
const double pumpVolume = 0.0628088;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,5.92389);
BOOST_CHECK_CLOSE(pressure,5.92389, 0.001);
BOOST_WARN_EQUAL(n,0.605682);
BOOST_CHECK_CLOSE(n,0.605682, 0.001);
BOOST_WARN_EQUAL(temp,314.459);
BOOST_CHECK_CLOSE(temp,314.459, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test84 ){
pressure = 14.3909;
n = 2.11081;
temp = 300.58;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 12.6558;
const double pumpVolume = 0.162073;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.087);
BOOST_CHECK_CLOSE(pressure,15.087, 0.001);
BOOST_WARN_EQUAL(n,2.16522);
BOOST_CHECK_CLOSE(n,2.16522, 0.001);
BOOST_WARN_EQUAL(temp,307.2);
BOOST_CHECK_CLOSE(temp,307.2, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test85 ){
pressure = 13.9729;
n = 750.509;
temp = 397.455;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 6128.11;
const double pumpVolume = 101.734;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8718);
BOOST_CHECK_CLOSE(pressure,14.8718, 0.001);
BOOST_WARN_EQUAL(n,828.437);
BOOST_CHECK_CLOSE(n,828.437, 0.001);
BOOST_WARN_EQUAL(temp,383.231);
BOOST_CHECK_CLOSE(temp,383.231, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test86 ){
pressure = 4.79744;
n = 1.11207;
temp = 2935.81;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 195.353;
const double pumpVolume = 35.2481;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,16.2391);
BOOST_CHECK_CLOSE(pressure,16.2391, 0.001);
BOOST_WARN_EQUAL(n,2.54882);
BOOST_CHECK_CLOSE(n,2.54882, 0.001);
BOOST_WARN_EQUAL(temp,4335.84);
BOOST_CHECK_CLOSE(temp,4335.84, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test87 ){
pressure = 14.2199;
n = 1.29758;
temp = 393.072;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 10.2963;
const double pumpVolume = 0.202841;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.9251);
BOOST_CHECK_CLOSE(pressure,14.9251, 0.001);
BOOST_WARN_EQUAL(n,1.37579);
BOOST_CHECK_CLOSE(n,1.37579, 0.001);
BOOST_WARN_EQUAL(temp,389.112);
BOOST_CHECK_CLOSE(temp,389.112, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test88 ){
pressure = 10.4192;
n = 6.04424;
temp = 420.603;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 70.0407;
const double pumpVolume = 0.282167;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,9.51759);
BOOST_CHECK_CLOSE(pressure,9.51759, 0.001);
BOOST_WARN_EQUAL(n,6.19182);
BOOST_CHECK_CLOSE(n,6.19182, 0.001);
BOOST_WARN_EQUAL(temp,375.051);
BOOST_CHECK_CLOSE(temp,375.051, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test89 ){
pressure = 15.2175;
n = 3.21105;
temp = 356.148;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 21.5727;
const double pumpVolume = 0.0142364;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.3925);
BOOST_CHECK_CLOSE(pressure,14.3925, 0.001);
BOOST_WARN_EQUAL(n,3.22166);
BOOST_CHECK_CLOSE(n,3.22166, 0.001);
BOOST_WARN_EQUAL(temp,335.73);
BOOST_CHECK_CLOSE(temp,335.73, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test90 ){
pressure = 6.308;
n = 0.621984;
temp = 920.413;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 26.052;
const double pumpVolume = 11.2191;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,22.7191);
BOOST_CHECK_CLOSE(pressure,22.7191, 0.001);
BOOST_WARN_EQUAL(n,1.27304);
BOOST_CHECK_CLOSE(n,1.27304, 0.001);
BOOST_WARN_EQUAL(temp,1619.64);
BOOST_CHECK_CLOSE(temp,1619.64, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test91 ){
pressure = 9.05095;
n = 0.533226;
temp = 475.436;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8.04043;
const double pumpVolume = 0.69296;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,16.6734);
BOOST_CHECK_CLOSE(pressure,16.6734, 0.001);
BOOST_WARN_EQUAL(n,0.806175);
BOOST_CHECK_CLOSE(n,0.806175, 0.001);
BOOST_WARN_EQUAL(temp,579.302);
BOOST_CHECK_CLOSE(temp,579.302, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test92 ){
pressure = 15.3433;
n = 15.5295;
temp = 403.328;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 117.183;
const double pumpVolume = 0.236745;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5288);
BOOST_CHECK_CLOSE(pressure,14.5288, 0.001);
BOOST_WARN_EQUAL(n,15.6238);
BOOST_CHECK_CLOSE(n,15.6238, 0.001);
BOOST_WARN_EQUAL(temp,379.613);
BOOST_CHECK_CLOSE(temp,379.613, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test93 ){
pressure = 2.23605;
n = 0.705608;
temp = 310.766;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 28.1505;
const double pumpVolume = 6.30802;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.85768);
BOOST_CHECK_CLOSE(pressure,6.85768, 0.001);
BOOST_WARN_EQUAL(n,1.29418);
BOOST_CHECK_CLOSE(n,1.29418, 0.001);
BOOST_WARN_EQUAL(temp,519.635);
BOOST_CHECK_CLOSE(temp,519.635, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test94 ){
pressure = 3.99652;
n = 41.7485;
temp = 315.725;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 946.755;
const double pumpVolume = 236.124;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,29.891);
BOOST_CHECK_CLOSE(pressure,29.891, 0.001);
BOOST_WARN_EQUAL(n,127.103);
BOOST_CHECK_CLOSE(n,127.103, 0.001);
BOOST_WARN_EQUAL(temp,775.63);
BOOST_CHECK_CLOSE(temp,775.63, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test95 ){
pressure = 4.94617;
n = 1.34078;
temp = 402.234;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 31.2996;
const double pumpVolume = 0.140444;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,4.80899);
BOOST_CHECK_CLOSE(pressure,4.80899, 0.001);
BOOST_WARN_EQUAL(n,1.35284);
BOOST_CHECK_CLOSE(n,1.35284, 0.001);
BOOST_WARN_EQUAL(temp,387.592);
BOOST_CHECK_CLOSE(temp,387.592, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test96 ){
pressure = 15.1313;
n = 45.4211;
temp = 428.059;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 368.855;
const double pumpVolume = 0.0515688;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.4323);
BOOST_CHECK_CLOSE(pressure,13.4323, 0.001);
BOOST_WARN_EQUAL(n,45.4529);
BOOST_CHECK_CLOSE(n,45.4529, 0.001);
BOOST_WARN_EQUAL(temp,379.729);
BOOST_CHECK_CLOSE(temp,379.729, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test97 ){
pressure = 7.65723;
n = 0.787132;
temp = 1108.48;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 32.7096;
const double pumpVolume = 11.437;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,36.5005);
BOOST_CHECK_CLOSE(pressure,36.5005, 0.001);
BOOST_WARN_EQUAL(n,1.93515);
BOOST_CHECK_CLOSE(n,1.93515, 0.001);
BOOST_WARN_EQUAL(temp,2149.26);
BOOST_CHECK_CLOSE(temp,2149.26, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test98 ){
pressure = 14.1244;
n = 7.55002;
temp = 397.599;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 61.0087;
const double pumpVolume = 1.01186;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6955);
BOOST_CHECK_CLOSE(pressure,14.6955, 0.001);
BOOST_WARN_EQUAL(n,8.06351);
BOOST_CHECK_CLOSE(n,8.06351, 0.001);
BOOST_WARN_EQUAL(temp,387.333);
BOOST_CHECK_CLOSE(temp,387.333, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test99 ){
pressure = 14.1578;
n = 5.74598;
temp = 393.648;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 45.8614;
const double pumpVolume = 0.837289;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.9466);
BOOST_CHECK_CLOSE(pressure,14.9466, 0.001);
BOOST_WARN_EQUAL(n,6.17723);
BOOST_CHECK_CLOSE(n,6.17723, 0.001);
BOOST_WARN_EQUAL(temp,386.568);
BOOST_CHECK_CLOSE(temp,386.568, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test100 ){
pressure = 14.0828;
n = 32.1481;
temp = 394.421;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 258.462;
const double pumpVolume = 4.30199;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8586);
BOOST_CHECK_CLOSE(pressure,14.8586, 0.001);
BOOST_WARN_EQUAL(n,34.9142);
BOOST_CHECK_CLOSE(n,34.9142, 0.001);
BOOST_WARN_EQUAL(temp,383.181);
BOOST_CHECK_CLOSE(temp,383.181, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test101 ){
pressure = 15.4115;
n = 1314.84;
temp = 357.86;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8764.21;
const double pumpVolume = 5.85978;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5534);
BOOST_CHECK_CLOSE(pressure,14.5534, 0.001);
BOOST_WARN_EQUAL(n,1319.24);
BOOST_CHECK_CLOSE(n,1319.24, 0.001);
BOOST_WARN_EQUAL(temp,336.808);
BOOST_CHECK_CLOSE(temp,336.808, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test102 ){
pressure = 2.79669;
n = 1.19069;
temp = 302.73;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 36.9983;
const double pumpVolume = 5.56876;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,12.4257);
BOOST_CHECK_CLOSE(pressure,12.4257, 0.001);
BOOST_WARN_EQUAL(n,2.76154);
BOOST_CHECK_CLOSE(n,2.76154, 0.001);
BOOST_WARN_EQUAL(temp,579.938);
BOOST_CHECK_CLOSE(temp,579.938, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test103 ){
pressure = 14.1947;
n = 755.546;
temp = 396.881;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 6064.07;
const double pumpVolume = 106.322;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6945);
BOOST_CHECK_CLOSE(pressure,14.6945, 0.001);
BOOST_WARN_EQUAL(n,795.988);
BOOST_CHECK_CLOSE(n,795.988, 0.001);
BOOST_WARN_EQUAL(temp,389.981);
BOOST_CHECK_CLOSE(temp,389.981, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test104 ){
pressure = 15.1513;
n = 1.21502;
temp = 418.217;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 9.62735;
const double pumpVolume = 0.00331955;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.1134);
BOOST_CHECK_CLOSE(pressure,14.1134, 0.001);
BOOST_WARN_EQUAL(n,1.21628);
BOOST_CHECK_CLOSE(n,1.21628, 0.001);
BOOST_WARN_EQUAL(temp,389.167);
BOOST_CHECK_CLOSE(temp,389.167, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test105 ){
pressure = 15.0784;
n = 1.17169;
temp = 426.83;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 9.52095;
const double pumpVolume = 0.0129789;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.3194);
BOOST_CHECK_CLOSE(pressure,13.3194, 0.001);
BOOST_WARN_EQUAL(n,1.1813);
BOOST_CHECK_CLOSE(n,1.1813, 0.001);
BOOST_WARN_EQUAL(temp,373.966);
BOOST_CHECK_CLOSE(temp,373.966, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test106 ){
pressure = 15.4126;
n = 1266.01;
temp = 357.026;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 8418.44;
const double pumpVolume = 4.82429;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.4271);
BOOST_CHECK_CLOSE(pressure,14.4271, 0.001);
BOOST_WARN_EQUAL(n,1270.37);
BOOST_CHECK_CLOSE(n,1270.37, 0.001);
BOOST_WARN_EQUAL(temp,333.05);
BOOST_CHECK_CLOSE(temp,333.05, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test107 ){
pressure = 14.1438;
n = 1.53338;
temp = 404.203;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 12.5792;
const double pumpVolume = 0.211853;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8385);
BOOST_CHECK_CLOSE(pressure,14.8385, 0.001);
BOOST_WARN_EQUAL(n,1.66693);
BOOST_CHECK_CLOSE(n,1.66693, 0.001);
BOOST_WARN_EQUAL(temp,390.083);
BOOST_CHECK_CLOSE(temp,390.083, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test108 ){
pressure = 15.7124;
n = 1146.34;
temp = 403.517;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 8450.93;
const double pumpVolume = 8.98414;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5475);
BOOST_CHECK_CLOSE(pressure,14.5475, 0.001);
BOOST_WARN_EQUAL(n,1151.23);
BOOST_CHECK_CLOSE(n,1151.23, 0.001);
BOOST_WARN_EQUAL(temp,372.017);
BOOST_CHECK_CLOSE(temp,372.017, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test109 ){
pressure = 13.9638;
n = 3.30891;
temp = 400.369;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 27.234;
const double pumpVolume = 0.45955;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8664);
BOOST_CHECK_CLOSE(pressure,14.8664, 0.001);
BOOST_WARN_EQUAL(n,3.65838);
BOOST_CHECK_CLOSE(n,3.65838, 0.001);
BOOST_WARN_EQUAL(temp,385.531);
BOOST_CHECK_CLOSE(temp,385.531, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test110 ){
pressure = 1935.93;
n = 82.6918;
temp = 311.667;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 3.82149;
const double pumpVolume = 0.507611;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,5861.26);
BOOST_CHECK_CLOSE(pressure,5861.26, 0.001);
BOOST_WARN_EQUAL(n,154.272);
BOOST_CHECK_CLOSE(n,154.272, 0.001);
BOOST_WARN_EQUAL(temp,505.787);
BOOST_CHECK_CLOSE(temp,505.787, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test111 ){
pressure = 12.4653;
n = 7.01804;
temp = 310.833;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 50.2354;
const double pumpVolume = 4.23372;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,22.1834);
BOOST_CHECK_CLOSE(pressure,22.1834, 0.001);
BOOST_WARN_EQUAL(n,9.70013);
BOOST_CHECK_CLOSE(n,9.70013, 0.001);
BOOST_WARN_EQUAL(temp,400.213);
BOOST_CHECK_CLOSE(temp,400.213, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test112 ){
pressure = 8.6572;
n = 0.728023;
temp = 853.224;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 20.5968;
const double pumpVolume = 1.88698;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,12.0773);
BOOST_CHECK_CLOSE(pressure,12.0773, 0.001);
BOOST_WARN_EQUAL(n,0.947009);
BOOST_CHECK_CLOSE(n,0.947009, 0.001);
BOOST_WARN_EQUAL(temp,915.057);
BOOST_CHECK_CLOSE(temp,915.057, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test113 ){
pressure = 15.4185;
n = 15.027;
temp = 414.382;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 115.931;
const double pumpVolume = 0.156919;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.2099);
BOOST_CHECK_CLOSE(pressure,14.2099, 0.001);
BOOST_WARN_EQUAL(n,15.1085);
BOOST_CHECK_CLOSE(n,15.1085, 0.001);
BOOST_WARN_EQUAL(temp,379.838);
BOOST_CHECK_CLOSE(temp,379.838, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test114 ){
pressure = 13.8436;
n = 3.31177;
temp = 394.571;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 27.096;
const double pumpVolume = 0.439579;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.7137);
BOOST_CHECK_CLOSE(pressure,14.7137, 0.001);
BOOST_WARN_EQUAL(n,3.64749);
BOOST_CHECK_CLOSE(n,3.64749, 0.001);
BOOST_WARN_EQUAL(temp,380.772);
BOOST_CHECK_CLOSE(temp,380.772, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test115 ){
pressure = 15.5497;
n = 1.74159;
temp = 350.279;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 11.2618;
const double pumpVolume = 0.00241716;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.7318);
BOOST_CHECK_CLOSE(pressure,14.7318, 0.001);
BOOST_WARN_EQUAL(n,1.74346);
BOOST_CHECK_CLOSE(n,1.74346, 0.001);
BOOST_WARN_EQUAL(temp,331.497);
BOOST_CHECK_CLOSE(temp,331.497, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test116 ){
pressure = 13.4791;
n = 1.66884;
temp = 306.503;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 10.8933;
const double pumpVolume = 0.421765;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,18.7241);
BOOST_CHECK_CLOSE(pressure,18.7241, 0.001);
BOOST_WARN_EQUAL(n,2.01792);
BOOST_CHECK_CLOSE(n,2.01792, 0.001);
BOOST_WARN_EQUAL(temp,352.116);
BOOST_CHECK_CLOSE(temp,352.116, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test117 ){
pressure = 5500.93;
n = 136.746;
temp = 338.383;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 2.41466;
const double pumpVolume = 0.192164;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,8185.93);
BOOST_CHECK_CLOSE(pressure,8185.93, 0.001);
BOOST_WARN_EQUAL(n,172.061);
BOOST_CHECK_CLOSE(n,172.061, 0.001);
BOOST_WARN_EQUAL(temp,400.196);
BOOST_CHECK_CLOSE(temp,400.196, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test118 ){
pressure = 4.15013;
n = 0.609843;
temp = 351.612;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 14.8317;
const double pumpVolume = 1.59888;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,9.89706);
BOOST_CHECK_CLOSE(pressure,9.89706, 0.001);
BOOST_WARN_EQUAL(n,1.01749);
BOOST_CHECK_CLOSE(n,1.01749, 0.001);
BOOST_WARN_EQUAL(temp,502.571);
BOOST_CHECK_CLOSE(temp,502.571, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test119 ){
pressure = 5112.72;
n = 183.876;
temp = 304.424;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 3.14283;
const double pumpVolume = 0.292937;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,9716.35);
BOOST_CHECK_CLOSE(pressure,9716.35, 0.001);
BOOST_WARN_EQUAL(n,262.625);
BOOST_CHECK_CLOSE(n,262.625, 0.001);
BOOST_WARN_EQUAL(temp,405.059);
BOOST_CHECK_CLOSE(temp,405.059, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test120 ){
pressure = 14.0159;
n = 0.708331;
temp = 398.406;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 5.77977;
const double pumpVolume = 0.0889967;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.7176);
BOOST_CHECK_CLOSE(pressure,14.7176, 0.001);
BOOST_WARN_EQUAL(n,0.776343);
BOOST_CHECK_CLOSE(n,0.776343, 0.001);
BOOST_WARN_EQUAL(temp,381.702);
BOOST_CHECK_CLOSE(temp,381.702, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test121 ){
pressure = 7.49445;
n = 0.56557;
temp = 440.324;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 9.53868;
const double pumpVolume = 0.00121082;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.59666);
BOOST_CHECK_CLOSE(pressure,6.59666, 0.001);
BOOST_WARN_EQUAL(n,0.565929);
BOOST_CHECK_CLOSE(n,0.565929, 0.001);
BOOST_WARN_EQUAL(temp,387.33);
BOOST_CHECK_CLOSE(temp,387.33, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test122 ){
pressure = 1.56726;
n = 1.08479;
temp = 2595.51;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 515.702;
const double pumpVolume = 129.902;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.6567);
BOOST_CHECK_CLOSE(pressure,6.6567, 0.001);
BOOST_WARN_EQUAL(n,2.66451);
BOOST_CHECK_CLOSE(n,2.66451, 0.001);
BOOST_WARN_EQUAL(temp,4488.18);
BOOST_CHECK_CLOSE(temp,4488.18, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test123 ){
pressure = 15.2486;
n = 2.36264;
temp = 357.064;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 15.8812;
const double pumpVolume = 0.00624269;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6745);
BOOST_CHECK_CLOSE(pressure,14.6745, 0.001);
BOOST_WARN_EQUAL(n,2.36542);
BOOST_CHECK_CLOSE(n,2.36542, 0.001);
BOOST_WARN_EQUAL(temp,343.217);
BOOST_CHECK_CLOSE(temp,343.217, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test124 ){
pressure = 15.8171;
n = 3.3006;
temp = 428.244;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 25.6524;
const double pumpVolume = 0.0378973;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.21);
BOOST_CHECK_CLOSE(pressure,14.21, 0.001);
BOOST_WARN_EQUAL(n,3.32506);
BOOST_CHECK_CLOSE(n,3.32506, 0.001);
BOOST_WARN_EQUAL(temp,381.904);
BOOST_CHECK_CLOSE(temp,381.904, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test125 ){
pressure = 8.86409;
n = 104.715;
temp = 308.428;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 1045.92;
const double pumpVolume = 213.776;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,17.796);
BOOST_CHECK_CLOSE(pressure,17.796, 0.001);
BOOST_WARN_EQUAL(n,151.895);
BOOST_CHECK_CLOSE(n,151.895, 0.001);
BOOST_WARN_EQUAL(temp,426.88);
BOOST_CHECK_CLOSE(temp,426.88, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test126 ){
pressure = 8.43876;
n = 11.9345;
temp = 305.667;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 124.092;
const double pumpVolume = 32.3485;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,30.6718);
BOOST_CHECK_CLOSE(pressure,30.6718, 0.001);
BOOST_WARN_EQUAL(n,23.9123);
BOOST_CHECK_CLOSE(n,23.9123, 0.001);
BOOST_WARN_EQUAL(temp,554.487);
BOOST_CHECK_CLOSE(temp,554.487, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test127 ){
pressure = 10.7601;
n = 16.731;
temp = 306.254;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 136.696;
const double pumpVolume = 18.3787;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,26.8148);
BOOST_CHECK_CLOSE(pressure,26.8148, 0.001);
BOOST_WARN_EQUAL(n,27.7117);
BOOST_CHECK_CLOSE(n,27.7117, 0.001);
BOOST_WARN_EQUAL(temp,460.783);
BOOST_CHECK_CLOSE(temp,460.783, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test128 ){
pressure = 3.12492;
n = 7.12017;
temp = 316.352;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 206.915;
const double pumpVolume = 42.9309;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,12.294);
BOOST_CHECK_CLOSE(pressure,12.294, 0.001);
BOOST_WARN_EQUAL(n,15.136);
BOOST_CHECK_CLOSE(n,15.136, 0.001);
BOOST_WARN_EQUAL(temp,585.472);
BOOST_CHECK_CLOSE(temp,585.472, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test129 ){
pressure = 9.75824;
n = 3.33604;
temp = 402.501;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 39.4998;
const double pumpVolume = 0.0777349;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,8.85909);
BOOST_CHECK_CLOSE(pressure,8.85909, 0.001);
BOOST_WARN_EQUAL(n,3.37562);
BOOST_CHECK_CLOSE(n,3.37562, 0.001);
BOOST_WARN_EQUAL(temp,361.128);
BOOST_CHECK_CLOSE(temp,361.128, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test130 ){
pressure = 15.7828;
n = 1145.81;
temp = 414.585;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 8640.0;
const double pumpVolume = 9.47063;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5163);
BOOST_CHECK_CLOSE(pressure,14.5163, 0.001);
BOOST_WARN_EQUAL(n,1150.85);
BOOST_CHECK_CLOSE(n,1150.85, 0.001);
BOOST_WARN_EQUAL(temp,379.651);
BOOST_CHECK_CLOSE(temp,379.651, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test131 ){
pressure = 2.34087;
n = 2.29686;
temp = 304.058;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 85.6413;
const double pumpVolume = 5.41482;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,4.43205);
BOOST_CHECK_CLOSE(pressure,4.43205, 0.001);
BOOST_WARN_EQUAL(n,3.31811);
BOOST_CHECK_CLOSE(n,3.31811, 0.001);
BOOST_WARN_EQUAL(temp,398.5);
BOOST_CHECK_CLOSE(temp,398.5, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test132 ){
pressure = 5704.2;
n = 186.571;
temp = 321.014;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 3.014;
const double pumpVolume = 0.0984264;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,6362.78);
BOOST_CHECK_CLOSE(pressure,6362.78, 0.001);
BOOST_WARN_EQUAL(n,198.956);
BOOST_CHECK_CLOSE(n,198.956, 0.001);
BOOST_WARN_EQUAL(temp,335.787);
BOOST_CHECK_CLOSE(temp,335.787, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test133 ){
pressure = 16.3318;
n = 1136.49;
temp = 439.79;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8785.06;
const double pumpVolume = 8.15618;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.4853);
BOOST_CHECK_CLOSE(pressure,14.4853, 0.001);
BOOST_WARN_EQUAL(n,1141.77);
BOOST_CHECK_CLOSE(n,1141.77, 0.001);
BOOST_WARN_EQUAL(temp,388.26);
BOOST_CHECK_CLOSE(temp,388.26, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test134 ){
pressure = 3845.83;
n = 926.531;
temp = 6046.85;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 418.185;
const double pumpVolume = 16.9579;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,3723.21);
BOOST_CHECK_CLOSE(pressure,3723.21, 0.001);
BOOST_WARN_EQUAL(n,1043.88);
BOOST_CHECK_CLOSE(n,1043.88, 0.001);
BOOST_WARN_EQUAL(temp,5195.96);
BOOST_CHECK_CLOSE(temp,5195.96, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test135 ){
pressure = 13.8202;
n = 10.8805;
temp = 401.896;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 90.8281;
const double pumpVolume = 1.6329;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6715);
BOOST_CHECK_CLOSE(pressure,14.6715, 0.001);
BOOST_WARN_EQUAL(n,11.8944);
BOOST_CHECK_CLOSE(n,11.8944, 0.001);
BOOST_WARN_EQUAL(temp,390.287);
BOOST_CHECK_CLOSE(temp,390.287, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test136 ){
pressure = 4232.79;
n = 5802.88;
temp = 402.48;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 158.391;
const double pumpVolume = 0.410761;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,3965.72);
BOOST_CHECK_CLOSE(pressure,3965.72, 0.001);
BOOST_WARN_EQUAL(n,5863.31);
BOOST_CHECK_CLOSE(n,5863.31, 0.001);
BOOST_WARN_EQUAL(temp,373.199);
BOOST_CHECK_CLOSE(temp,373.199, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test137 ){
pressure = 10.2947;
n = 3.90292;
temp = 439.08;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 47.7849;
const double pumpVolume = 0.0402743;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,8.95483);
BOOST_CHECK_CLOSE(pressure,8.95483, 0.001);
BOOST_WARN_EQUAL(n,3.9227);
BOOST_CHECK_CLOSE(n,3.9227, 0.001);
BOOST_WARN_EQUAL(temp,380.008);
BOOST_CHECK_CLOSE(temp,380.008, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test138 ){
pressure = 405.072;
n = 35.6789;
temp = 301.837;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 7.63171;
const double pumpVolume = 0.164363;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,454.742);
BOOST_CHECK_CLOSE(pressure,454.742, 0.001);
BOOST_WARN_EQUAL(n,38.0341);
BOOST_CHECK_CLOSE(n,38.0341, 0.001);
BOOST_WARN_EQUAL(temp,317.865);
BOOST_CHECK_CLOSE(temp,317.865, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test139 ){
pressure = 15.0674;
n = 17.8415;
temp = 405.143;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 137.711;
const double pumpVolume = 0.0538877;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.4102);
BOOST_CHECK_CLOSE(pressure,14.4102, 0.001);
BOOST_WARN_EQUAL(n,17.8554);
BOOST_CHECK_CLOSE(n,17.8554, 0.001);
BOOST_WARN_EQUAL(temp,387.167);
BOOST_CHECK_CLOSE(temp,387.167, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test140 ){
pressure = 5.12143;
n = 1.58263;
temp = 399.824;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 35.4671;
const double pumpVolume = 0.276728;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,5.01684);
BOOST_CHECK_CLOSE(pressure,5.01684, 0.001);
BOOST_WARN_EQUAL(n,1.61996);
BOOST_CHECK_CLOSE(n,1.61996, 0.001);
BOOST_WARN_EQUAL(temp,382.632);
BOOST_CHECK_CLOSE(temp,382.632, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test141 ){
pressure = 13.0049;
n = 0.514899;
temp = 5547.66;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = -4999.0;
const double volume = 63.0516;
const double pumpVolume = 0.2879;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,11.995);
BOOST_CHECK_CLOSE(pressure,11.995, 0.001);
BOOST_WARN_EQUAL(n,0.51725);
BOOST_CHECK_CLOSE(n,0.51725, 0.001);
BOOST_WARN_EQUAL(temp,5093.63);
BOOST_CHECK_CLOSE(temp,5093.63, 0.001);
BOOST_CHECK_EQUAL(counter,-5000);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test142 ){
pressure = 5823.93;
n = 113.023;
temp = 423.954;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 2.36177;
const double pumpVolume = 0.0048796;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,5275.98);
BOOST_CHECK_CLOSE(pressure,5275.98, 0.001);
BOOST_WARN_EQUAL(n,114.195);
BOOST_CHECK_CLOSE(n,114.195, 0.001);
BOOST_WARN_EQUAL(temp,380.122);
BOOST_CHECK_CLOSE(temp,380.122, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test143 ){
pressure = 10.2373;
n = 95.7654;
temp = 315.797;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 848.009;
const double pumpVolume = 52.3086;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,18.8166);
BOOST_CHECK_CLOSE(pressure,18.8166, 0.001);
BOOST_WARN_EQUAL(n,137.145);
BOOST_CHECK_CLOSE(n,137.145, 0.001);
BOOST_WARN_EQUAL(temp,405.315);
BOOST_CHECK_CLOSE(temp,405.315, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test144 ){
pressure = 2.94431;
n = 2.3492;
temp = 307.895;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 70.5193;
const double pumpVolume = 5.02715;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,5.38622);
BOOST_CHECK_CLOSE(pressure,5.38622, 0.001);
BOOST_WARN_EQUAL(n,3.31475);
BOOST_CHECK_CLOSE(n,3.31475, 0.001);
BOOST_WARN_EQUAL(temp,399.183);
BOOST_CHECK_CLOSE(temp,399.183, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test145 ){
pressure = 8.58628;
n = 821.981;
temp = 307.648;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 8454.35;
const double pumpVolume = 758.439;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.894);
BOOST_CHECK_CLOSE(pressure,15.894, 0.001);
BOOST_WARN_EQUAL(n,1159.06);
BOOST_CHECK_CLOSE(n,1159.06, 0.001);
BOOST_WARN_EQUAL(temp,403.866);
BOOST_CHECK_CLOSE(temp,403.866, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test146 ){
pressure = 10.5138;
n = 0.584567;
temp = 707.357;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 11.2897;
const double pumpVolume = 1.11178;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,17.5797);
BOOST_CHECK_CLOSE(pressure,17.5797, 0.001);
BOOST_WARN_EQUAL(n,0.851137);
BOOST_CHECK_CLOSE(n,0.851137, 0.001);
BOOST_WARN_EQUAL(temp,812.314);
BOOST_CHECK_CLOSE(temp,812.314, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test147 ){
pressure = 6.68513;
n = 1.67068;
temp = 403.15;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 28.9215;
const double pumpVolume = 0.0395696;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.2048);
BOOST_CHECK_CLOSE(pressure,6.2048, 0.001);
BOOST_WARN_EQUAL(n,1.67984);
BOOST_CHECK_CLOSE(n,1.67984, 0.001);
BOOST_WARN_EQUAL(temp,372.143);
BOOST_CHECK_CLOSE(temp,372.143, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test148 ){
pressure = 15.0011;
n = 1.42578;
temp = 724.379;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 19.7636;
const double pumpVolume = 0.0688422;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,12.5415);
BOOST_CHECK_CLOSE(pressure,12.5415, 0.001);
BOOST_WARN_EQUAL(n,1.44575);
BOOST_CHECK_CLOSE(n,1.44575, 0.001);
BOOST_WARN_EQUAL(temp,597.245);
BOOST_CHECK_CLOSE(temp,597.245, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test149 ){
pressure = 5678.77;
n = 283.395;
temp = 407.943;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 5.84394;
const double pumpVolume = 0.0275709;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,5446.73);
BOOST_CHECK_CLOSE(pressure,5446.73, 0.001);
BOOST_WARN_EQUAL(n,287.425);
BOOST_CHECK_CLOSE(n,287.425, 0.001);
BOOST_WARN_EQUAL(temp,385.788);
BOOST_CHECK_CLOSE(temp,385.788, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test150 ){
pressure = 14.3362;
n = 12.1719;
temp = 394.725;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 96.2032;
const double pumpVolume = 1.47816;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6804);
BOOST_CHECK_CLOSE(pressure,14.6804, 0.001);
BOOST_WARN_EQUAL(n,12.7417);
BOOST_CHECK_CLOSE(n,12.7417, 0.001);
BOOST_WARN_EQUAL(temp,386.129);
BOOST_CHECK_CLOSE(temp,386.129, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test151 ){
pressure = 15.4714;
n = 24.1631;
temp = 425.023;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 190.549;
const double pumpVolume = 0.267947;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.6931);
BOOST_CHECK_CLOSE(pressure,13.6931, 0.001);
BOOST_WARN_EQUAL(n,24.3677);
BOOST_CHECK_CLOSE(n,24.3677, 0.001);
BOOST_WARN_EQUAL(temp,373.013);
BOOST_CHECK_CLOSE(temp,373.013, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test152 ){
pressure = 15.0605;
n = 1066.51;
temp = 403.292;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 8198.17;
const double pumpVolume = 6.74662;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.4979);
BOOST_CHECK_CLOSE(pressure,13.4979, 0.001);
BOOST_WARN_EQUAL(n,1071.79);
BOOST_CHECK_CLOSE(n,1071.79, 0.001);
BOOST_WARN_EQUAL(temp,359.671);
BOOST_CHECK_CLOSE(temp,359.671, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test153 ){
pressure = 15.4001;
n = 1123.56;
temp = 403.37;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8447.85;
const double pumpVolume = 7.80411;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.0202);
BOOST_CHECK_CLOSE(pressure,14.0202, 0.001);
BOOST_WARN_EQUAL(n,1128.76);
BOOST_CHECK_CLOSE(n,1128.76, 0.001);
BOOST_WARN_EQUAL(temp,365.534);
BOOST_CHECK_CLOSE(temp,365.534, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test154 ){
pressure = 14.3654;
n = 14.1176;
temp = 402.5;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 113.548;
const double pumpVolume = 1.99837;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.1923);
BOOST_CHECK_CLOSE(pressure,15.1923, 0.001);
BOOST_WARN_EQUAL(n,15.4044);
BOOST_CHECK_CLOSE(n,15.4044, 0.001);
BOOST_WARN_EQUAL(temp,390.109);
BOOST_CHECK_CLOSE(temp,390.109, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test155 ){
pressure = 15.1104;
n = 3.20994;
temp = 441.908;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 26.9478;
const double pumpVolume = 0.00247352;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.282);
BOOST_CHECK_CLOSE(pressure,13.282, 0.001);
BOOST_WARN_EQUAL(n,3.21141);
BOOST_CHECK_CLOSE(n,3.21141, 0.001);
BOOST_WARN_EQUAL(temp,388.258);
BOOST_CHECK_CLOSE(temp,388.258, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test156 ){
pressure = 14.2746;
n = 8.49341;
temp = 403.182;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 68.8634;
const double pumpVolume = 1.16427;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.9959);
BOOST_CHECK_CLOSE(pressure,14.9959, 0.001);
BOOST_WARN_EQUAL(n,9.23609);
BOOST_CHECK_CLOSE(n,9.23609, 0.001);
BOOST_WARN_EQUAL(temp,389.496);
BOOST_CHECK_CLOSE(temp,389.496, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test157 ){
pressure = 3.36738;
n = 0.503479;
temp = 384.249;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 16.492;
const double pumpVolume = 0.468724;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,4.10408);
BOOST_CHECK_CLOSE(pressure,4.10408, 0.001);
BOOST_WARN_EQUAL(n,0.595673);
BOOST_CHECK_CLOSE(n,0.595673, 0.001);
BOOST_WARN_EQUAL(temp,395.832);
BOOST_CHECK_CLOSE(temp,395.832, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test158 ){
pressure = 2.74604;
n = 2.28031;
temp = 385.97;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 92.0049;
const double pumpVolume = 115.742;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,1347.68);
BOOST_CHECK_CLOSE(pressure,1347.68, 0.001);
BOOST_WARN_EQUAL(n,59.2768);
BOOST_CHECK_CLOSE(n,59.2768, 0.001);
BOOST_WARN_EQUAL(temp,7286.94);
BOOST_CHECK_CLOSE(temp,7286.94, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test159 ){
pressure = 2.98877;
n = 3.60272;
temp = 441.142;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 152.646;
const double pumpVolume = 142.043;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,1437.18);
BOOST_CHECK_CLOSE(pressure,1437.18, 0.001);
BOOST_WARN_EQUAL(n,96.6096);
BOOST_CHECK_CLOSE(n,96.6096, 0.001);
BOOST_WARN_EQUAL(temp,7910.53);
BOOST_CHECK_CLOSE(temp,7910.53, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test160 ){
pressure = 15.4162;
n = 16.8086;
temp = 355.405;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 111.236;
const double pumpVolume = 0.00130519;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6557);
BOOST_CHECK_CLOSE(pressure,14.6557, 0.001);
BOOST_WARN_EQUAL(n,16.8094);
BOOST_CHECK_CLOSE(n,16.8094, 0.001);
BOOST_WARN_EQUAL(temp,337.855);
BOOST_CHECK_CLOSE(temp,337.855, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test161 ){
pressure = 10.2678;
n = 16.1667;
temp = 300.995;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 136.042;
const double pumpVolume = 21.4735;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,23.1508);
BOOST_CHECK_CLOSE(pressure,23.1508, 0.001);
BOOST_WARN_EQUAL(n,25.0941);
BOOST_CHECK_CLOSE(n,25.0941, 0.001);
BOOST_WARN_EQUAL(temp,437.216);
BOOST_CHECK_CLOSE(temp,437.216, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test162 ){
pressure = 2.91537;
n = 1.00925;
temp = 305.066;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 30.316;
const double pumpVolume = 2.89831;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.55167);
BOOST_CHECK_CLOSE(pressure,6.55167, 0.001);
BOOST_WARN_EQUAL(n,1.59319);
BOOST_CHECK_CLOSE(n,1.59319, 0.001);
BOOST_WARN_EQUAL(temp,434.296);
BOOST_CHECK_CLOSE(temp,434.296, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test163 ){
pressure = 3895.7;
n = 5434.2;
temp = 314.179;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 125.805;
const double pumpVolume = 1.88234;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,4273.94);
BOOST_CHECK_CLOSE(pressure,4273.94, 0.001);
BOOST_WARN_EQUAL(n,5766.81);
BOOST_CHECK_CLOSE(n,5766.81, 0.001);
BOOST_WARN_EQUAL(temp,324.803);
BOOST_CHECK_CLOSE(temp,324.803, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test164 ){
pressure = 3265.64;
n = 183.356;
temp = 314.296;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 5.06565;
const double pumpVolume = 1.05032;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,9246.13);
BOOST_CHECK_CLOSE(pressure,9246.13, 0.001);
BOOST_WARN_EQUAL(n,322.69);
BOOST_CHECK_CLOSE(n,322.69, 0.001);
BOOST_WARN_EQUAL(temp,505.639);
BOOST_CHECK_CLOSE(temp,505.639, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test165 ){
pressure = 8.75389;
n = 1.60974;
temp = 404.369;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 21.3453;
const double pumpVolume = 0.0532751;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,8.07676);
BOOST_CHECK_CLOSE(pressure,8.07676, 0.001);
BOOST_WARN_EQUAL(n,1.62993);
BOOST_CHECK_CLOSE(n,1.62993, 0.001);
BOOST_WARN_EQUAL(temp,368.469);
BOOST_CHECK_CLOSE(temp,368.469, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test166 ){
pressure = 13.8521;
n = 5.16559;
temp = 403.945;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 43.241;
const double pumpVolume = 0.726949;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6919);
BOOST_CHECK_CLOSE(pressure,14.6919, 0.001);
BOOST_WARN_EQUAL(n,5.70904);
BOOST_CHECK_CLOSE(n,5.70904, 0.001);
BOOST_WARN_EQUAL(temp,387.652);
BOOST_CHECK_CLOSE(temp,387.652, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test167 ){
pressure = 14.0996;
n = 3.31075;
temp = 394.348;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 26.5808;
const double pumpVolume = 0.442276;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.0544);
BOOST_CHECK_CLOSE(pressure,15.0544, 0.001);
BOOST_WARN_EQUAL(n,3.65533);
BOOST_CHECK_CLOSE(n,3.65533, 0.001);
BOOST_WARN_EQUAL(temp,381.362);
BOOST_CHECK_CLOSE(temp,381.362, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test168 ){
pressure = 230.646;
n = 6.92056;
temp = 312.917;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 2.69522;
const double pumpVolume = 0.581286;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,478.861);
BOOST_CHECK_CLOSE(pressure,478.861, 0.001);
BOOST_WARN_EQUAL(n,10.2276);
BOOST_CHECK_CLOSE(n,10.2276, 0.001);
BOOST_WARN_EQUAL(temp,439.601);
BOOST_CHECK_CLOSE(temp,439.601, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test169 ){
pressure = 14.3782;
n = 8.3352;
temp = 397.152;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 66.0901;
const double pumpVolume = 1.12886;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.0175);
BOOST_CHECK_CLOSE(pressure,15.0175, 0.001);
BOOST_WARN_EQUAL(n,8.91944);
BOOST_CHECK_CLOSE(n,8.91944, 0.001);
BOOST_WARN_EQUAL(temp,387.638);
BOOST_CHECK_CLOSE(temp,387.638, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test170 ){
pressure = 13.9678;
n = 3.31134;
temp = 394.454;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 26.8437;
const double pumpVolume = 0.441345;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8813);
BOOST_CHECK_CLOSE(pressure,14.8813, 0.001);
BOOST_WARN_EQUAL(n,3.65172);
BOOST_CHECK_CLOSE(n,3.65172, 0.001);
BOOST_WARN_EQUAL(temp,381.081);
BOOST_CHECK_CLOSE(temp,381.081, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test171 ){
pressure = 15.5857;
n = 2.11915;
temp = 427.643;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 16.6911;
const double pumpVolume = 0.0080562;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.1613);
BOOST_CHECK_CLOSE(pressure,14.1613, 0.001);
BOOST_WARN_EQUAL(n,2.12324);
BOOST_CHECK_CLOSE(n,2.12324, 0.001);
BOOST_WARN_EQUAL(temp,387.81);
BOOST_CHECK_CLOSE(temp,387.81, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test172 ){
pressure = 15.0589;
n = 1021.97;
temp = 403.386;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 7858.45;
const double pumpVolume = 7.94936;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.7202);
BOOST_CHECK_CLOSE(pressure,13.7202, 0.001);
BOOST_WARN_EQUAL(n,1027.15);
BOOST_CHECK_CLOSE(n,1027.15, 0.001);
BOOST_WARN_EQUAL(temp,365.673);
BOOST_CHECK_CLOSE(temp,365.673, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test173 ){
pressure = 14.3062;
n = 0.668224;
temp = 400.652;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 5.37198;
const double pumpVolume = 0.086326;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8008);
BOOST_CHECK_CLOSE(pressure,14.8008, 0.001);
BOOST_WARN_EQUAL(n,0.712223);
BOOST_CHECK_CLOSE(n,0.712223, 0.001);
BOOST_WARN_EQUAL(temp,388.898);
BOOST_CHECK_CLOSE(temp,388.898, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test174 ){
pressure = 834.166;
n = 19.6026;
temp = 339.636;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = -3182.0;
const double volume = 2.29111;
const double pumpVolume = 2.13814;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,2963.69);
BOOST_CHECK_CLOSE(pressure,2963.69, 0.001);
BOOST_WARN_EQUAL(n,37.8965);
BOOST_CHECK_CLOSE(n,37.8965, 0.001);
BOOST_WARN_EQUAL(temp,624.179);
BOOST_CHECK_CLOSE(temp,624.179, 0.001);
BOOST_CHECK_EQUAL(counter,-3183);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test175 ){
pressure = 6602.99;
n = 4838.11;
temp = 413.981;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 87.0732;
const double pumpVolume = 0.117852;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,5986.45);
BOOST_CHECK_CLOSE(pressure,5986.45, 0.001);
BOOST_WARN_EQUAL(n,4870.94);
BOOST_CHECK_CLOSE(n,4870.94, 0.001);
BOOST_WARN_EQUAL(temp,372.796);
BOOST_CHECK_CLOSE(temp,372.796, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test176 ){
pressure = 14.357;
n = 10.8094;
temp = 396.722;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 85.7418;
const double pumpVolume = 1.51521;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8751);
BOOST_CHECK_CLOSE(pressure,14.8751, 0.001);
BOOST_WARN_EQUAL(n,11.3927);
BOOST_CHECK_CLOSE(n,11.3927, 0.001);
BOOST_WARN_EQUAL(temp,389.993);
BOOST_CHECK_CLOSE(temp,389.993, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test177 ){
pressure = 15.0877;
n = 7.34608;
temp = 415.222;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 58.0341;
const double pumpVolume = 0.036089;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.8235);
BOOST_CHECK_CLOSE(pressure,13.8235, 0.001);
BOOST_WARN_EQUAL(n,7.36437);
BOOST_CHECK_CLOSE(n,7.36437, 0.001);
BOOST_WARN_EQUAL(temp,379.486);
BOOST_CHECK_CLOSE(temp,379.486, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test178 ){
pressure = 14.0115;
n = 4.23741;
temp = 398.707;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 34.6129;
const double pumpVolume = 0.566252;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6975);
BOOST_CHECK_CLOSE(pressure,14.6975, 0.001);
BOOST_WARN_EQUAL(n,4.59555);
BOOST_CHECK_CLOSE(n,4.59555, 0.001);
BOOST_WARN_EQUAL(temp,385.633);
BOOST_CHECK_CLOSE(temp,385.633, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test179 ){
pressure = 14.1045;
n = 5.82528;
temp = 401.039;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 47.5462;
const double pumpVolume = 0.799492;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.6675);
BOOST_CHECK_CLOSE(pressure,14.6675, 0.001);
BOOST_WARN_EQUAL(n,6.22709);
BOOST_CHECK_CLOSE(n,6.22709, 0.001);
BOOST_WARN_EQUAL(temp,390.137);
BOOST_CHECK_CLOSE(temp,390.137, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test180 ){
pressure = 14.3043;
n = 3.95726;
temp = 393.456;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 31.246;
const double pumpVolume = 0.589814;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.7226);
BOOST_CHECK_CLOSE(pressure,14.7226, 0.001);
BOOST_WARN_EQUAL(n,4.10807);
BOOST_CHECK_CLOSE(n,4.10807, 0.001);
BOOST_WARN_EQUAL(temp,390.096);
BOOST_CHECK_CLOSE(temp,390.096, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test181 ){
pressure = 15.4888;
n = 8.52429;
temp = 415.477;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 65.6381;
const double pumpVolume = 0.00637883;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.628);
BOOST_CHECK_CLOSE(pressure,13.628, 0.001);
BOOST_WARN_EQUAL(n,8.52926);
BOOST_CHECK_CLOSE(n,8.52926, 0.001);
BOOST_WARN_EQUAL(temp,365.349);
BOOST_CHECK_CLOSE(temp,365.349, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test182 ){
pressure = 15.0986;
n = 1.99299;
temp = 439.659;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 16.6591;
const double pumpVolume = 0.0108035;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,13.1004);
BOOST_CHECK_CLOSE(pressure,13.1004, 0.001);
BOOST_WARN_EQUAL(n,2.00076);
BOOST_CHECK_CLOSE(n,2.00076, 0.001);
BOOST_WARN_EQUAL(temp,379.99);
BOOST_CHECK_CLOSE(temp,379.99, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test183 ){
pressure = 9.81701;
n = 626.759;
temp = 412.903;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 7567.27;
const double pumpVolume = 18.3352;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,9.12683);
BOOST_CHECK_CLOSE(pressure,9.12683, 0.001);
BOOST_WARN_EQUAL(n,632.856);
BOOST_CHECK_CLOSE(n,632.856, 0.001);
BOOST_WARN_EQUAL(temp,380.176);
BOOST_CHECK_CLOSE(temp,380.176, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test184 ){
pressure = 15.6668;
n = 9.2723;
temp = 403.185;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 68.4984;
const double pumpVolume = 0.0905786;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.3162);
BOOST_CHECK_CLOSE(pressure,14.3162, 0.001);
BOOST_WARN_EQUAL(n,9.33377);
BOOST_CHECK_CLOSE(n,9.33377, 0.001);
BOOST_WARN_EQUAL(temp,366.002);
BOOST_CHECK_CLOSE(temp,366.002, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test185 ){
pressure = 2.86017;
n = 1.27224;
temp = 307.454;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 39.2579;
const double pumpVolume = 3.57244;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,5.34142);
BOOST_CHECK_CLOSE(pressure,5.34142, 0.001);
BOOST_WARN_EQUAL(n,1.80246);
BOOST_CHECK_CLOSE(n,1.80246, 0.001);
BOOST_WARN_EQUAL(temp,405.273);
BOOST_CHECK_CLOSE(temp,405.273, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test186 ){
pressure = 14.3593;
n = 2.13284;
temp = 393.868;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 16.7937;
const double pumpVolume = 0.298336;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.1035);
BOOST_CHECK_CLOSE(pressure,15.1035, 0.001);
BOOST_WARN_EQUAL(n,2.28849);
BOOST_CHECK_CLOSE(n,2.28849, 0.001);
BOOST_WARN_EQUAL(temp,386.105);
BOOST_CHECK_CLOSE(temp,386.105, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test187 ){
pressure = 14.0514;
n = 6.83196;
temp = 396.813;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 55.3837;
const double pumpVolume = 0.960829;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.891);
BOOST_CHECK_CLOSE(pressure,14.891, 0.001);
BOOST_WARN_EQUAL(n,7.44551);
BOOST_CHECK_CLOSE(n,7.44551, 0.001);
BOOST_WARN_EQUAL(temp,385.871);
BOOST_CHECK_CLOSE(temp,385.871, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test188 ){
pressure = 3.50194;
n = 298.467;
temp = 309.857;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 7580.87;
const double pumpVolume = 961.675;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,10.1187);
BOOST_CHECK_CLOSE(pressure,10.1187, 0.001);
BOOST_WARN_EQUAL(n,542.298);
BOOST_CHECK_CLOSE(n,542.298, 0.001);
BOOST_WARN_EQUAL(temp,492.76);
BOOST_CHECK_CLOSE(temp,492.76, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test189 ){
pressure = 7.35532;
n = 14.12;
temp = 414.874;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 228.622;
const double pumpVolume = 0.00799272;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.47073);
BOOST_CHECK_CLOSE(pressure,6.47073, 0.001);
BOOST_WARN_EQUAL(n,14.1229);
BOOST_CHECK_CLOSE(n,14.1229, 0.001);
BOOST_WARN_EQUAL(temp,364.903);
BOOST_CHECK_CLOSE(temp,364.903, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test190 ){
pressure = 7.61997;
n = 1.0724;
temp = 413.855;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 16.7195;
const double pumpVolume = 0.0253119;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,6.91911);
BOOST_CHECK_CLOSE(pressure,6.91911, 0.001);
BOOST_WARN_EQUAL(n,1.08055);
BOOST_CHECK_CLOSE(n,1.08055, 0.001);
BOOST_WARN_EQUAL(temp,372.958);
BOOST_CHECK_CLOSE(temp,372.958, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test191 ){
pressure = 15.5117;
n = 5.4358;
temp = 364.285;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 36.645;
const double pumpVolume = 0.0626065;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,false);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.5794);
BOOST_CHECK_CLOSE(pressure,14.5794, 0.001);
BOOST_WARN_EQUAL(n,5.49176);
BOOST_CHECK_CLOSE(n,5.49176, 0.001);
BOOST_WARN_EQUAL(temp,338.901);
BOOST_CHECK_CLOSE(temp,338.901, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,false);
}
BOOST_AUTO_TEST_CASE( test192 ){
pressure = 12.0461;
n = 11.3541;
temp = 321.209;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 86.9081;
const double pumpVolume = 8.01712;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,25.9145);
BOOST_CHECK_CLOSE(pressure,25.9145, 0.001);
BOOST_WARN_EQUAL(n,17.6505);
BOOST_CHECK_CLOSE(n,17.6505, 0.001);
BOOST_WARN_EQUAL(temp,444.504);
BOOST_CHECK_CLOSE(temp,444.504, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test193 ){
pressure = 11.9838;
n = 29.4674;
temp = 314.007;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 221.644;
const double pumpVolume = 19.5121;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,25.0648);
BOOST_CHECK_CLOSE(pressure,25.0648, 0.001);
BOOST_WARN_EQUAL(n,44.9317);
BOOST_CHECK_CLOSE(n,44.9317, 0.001);
BOOST_WARN_EQUAL(temp,430.723);
BOOST_CHECK_CLOSE(temp,430.723, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test194 ){
pressure = 4.34333;
n = 0.568277;
temp = 921.548;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 34.6119;
const double pumpVolume = 12.5282;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,12.8845);
BOOST_CHECK_CLOSE(pressure,12.8845, 0.001);
BOOST_WARN_EQUAL(n,1.05412);
BOOST_CHECK_CLOSE(n,1.05412, 0.001);
BOOST_WARN_EQUAL(temp,1473.78);
BOOST_CHECK_CLOSE(temp,1473.78, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test195 ){
pressure = 15.7701;
n = 2.05223;
temp = 403.603;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 15.077;
const double pumpVolume = 0.00495162;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.056);
BOOST_CHECK_CLOSE(pressure,14.056, 0.001);
BOOST_WARN_EQUAL(n,2.05627);
BOOST_CHECK_CLOSE(n,2.05627, 0.001);
BOOST_WARN_EQUAL(temp,359.026);
BOOST_CHECK_CLOSE(temp,359.026, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test196 ){
pressure = 11.394;
n = 0.754785;
temp = 307.689;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 5.85101;
const double pumpVolume = 0.86382;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,30.8933);
BOOST_CHECK_CLOSE(pressure,30.8933, 0.001);
BOOST_WARN_EQUAL(n,1.3093);
BOOST_CHECK_CLOSE(n,1.3093, 0.001);
BOOST_WARN_EQUAL(temp,480.935);
BOOST_CHECK_CLOSE(temp,480.935, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test197 ){
pressure = 87.2967;
n = 2.61215;
temp = 403.209;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 3.46338;
const double pumpVolume = 0.00953919;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,83.007);
BOOST_CHECK_CLOSE(pressure,83.007, 0.001);
BOOST_WARN_EQUAL(n,2.63379);
BOOST_CHECK_CLOSE(n,2.63379, 0.001);
BOOST_WARN_EQUAL(temp,380.245);
BOOST_CHECK_CLOSE(temp,380.245, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test198 ){
pressure = 16.9818;
n = 1.04267;
temp = 5229.88;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 92.1777;
const double pumpVolume = 0.511916;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,12.4424);
BOOST_CHECK_CLOSE(pressure,12.4424, 0.001);
BOOST_WARN_EQUAL(n,1.06603);
BOOST_CHECK_CLOSE(n,1.06603, 0.001);
BOOST_WARN_EQUAL(temp,3747.92);
BOOST_CHECK_CLOSE(temp,3747.92, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test199 ){
pressure = 14.238;
n = 3.30976;
temp = 394.249;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 26.3081;
const double pumpVolume = 0.442614;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.2331);
BOOST_CHECK_CLOSE(pressure,15.2331, 0.001);
BOOST_WARN_EQUAL(n,3.65824);
BOOST_CHECK_CLOSE(n,3.65824, 0.001);
BOOST_WARN_EQUAL(temp,381.625);
BOOST_CHECK_CLOSE(temp,381.625, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test200 ){
pressure = 7.2779;
n = 27.9907;
temp = 327.912;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 362.022;
const double pumpVolume = 33.0275;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,11.5736);
BOOST_CHECK_CLOSE(pressure,11.5736, 0.001);
BOOST_WARN_EQUAL(n,36.3718);
BOOST_CHECK_CLOSE(n,36.3718, 0.001);
BOOST_WARN_EQUAL(temp,401.299);
BOOST_CHECK_CLOSE(temp,401.299, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test201 ){
pressure = 4.12589;
n = 1.13873;
temp = 305.909;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 24.2362;
const double pumpVolume = 1.80241;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,8.71049);
BOOST_CHECK_CLOSE(pressure,8.71049, 0.001);
BOOST_WARN_EQUAL(n,1.75122);
BOOST_CHECK_CLOSE(n,1.75122, 0.001);
BOOST_WARN_EQUAL(temp,419.95);
BOOST_CHECK_CLOSE(temp,419.95, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test202 ){
pressure = 3266.61;
n = 4425.0;
temp = 305.525;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 118.804;
const double pumpVolume = 11.0628;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,7188.13);
BOOST_CHECK_CLOSE(pressure,7188.13, 0.001);
BOOST_WARN_EQUAL(n,6906.35);
BOOST_CHECK_CLOSE(n,6906.35, 0.001);
BOOST_WARN_EQUAL(temp,430.755);
BOOST_CHECK_CLOSE(temp,430.755, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test203 ){
pressure = 2.12653;
n = 0.851504;
temp = 1064.81;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 122.393;
const double pumpVolume = 75.6394;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,169.917);
BOOST_CHECK_CLOSE(pressure,169.917, 0.001);
BOOST_WARN_EQUAL(n,9.44243);
BOOST_CHECK_CLOSE(n,9.44243, 0.001);
BOOST_WARN_EQUAL(temp,7672.57);
BOOST_CHECK_CLOSE(temp,7672.57, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test204 ){
pressure = 15.7939;
n = 1146.0;
temp = 414.333;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 8630.11;
const double pumpVolume = 6.7806;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.0124);
BOOST_CHECK_CLOSE(pressure,14.0124, 0.001);
BOOST_WARN_EQUAL(n,1151.41);
BOOST_CHECK_CLOSE(n,1151.41, 0.001);
BOOST_WARN_EQUAL(temp,365.871);
BOOST_CHECK_CLOSE(temp,365.871, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test205 ){
pressure = 5.85624;
n = 1.46883;
temp = 315.88;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 22.7428;
const double pumpVolume = 5.22648;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,37.7764);
BOOST_CHECK_CLOSE(pressure,37.7764, 0.001);
BOOST_WARN_EQUAL(n,4.13198);
BOOST_CHECK_CLOSE(n,4.13198, 0.001);
BOOST_WARN_EQUAL(temp,724.33);
BOOST_CHECK_CLOSE(temp,724.33, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test206 ){
pressure = 520.734;
n = 42.9482;
temp = 418.582;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 9.91011;
const double pumpVolume = 0.0140878;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,478.945);
BOOST_CHECK_CLOSE(pressure,478.945, 0.001);
BOOST_WARN_EQUAL(n,43.1929);
BOOST_CHECK_CLOSE(n,43.1929, 0.001);
BOOST_WARN_EQUAL(temp,382.809);
BOOST_CHECK_CLOSE(temp,382.809, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test207 ){
pressure = 15.7885;
n = 1146.02;
temp = 414.422;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 8635.07;
const double pumpVolume = 7.89648;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.2531);
BOOST_CHECK_CLOSE(pressure,14.2531, 0.001);
BOOST_WARN_EQUAL(n,1151.27);
BOOST_CHECK_CLOSE(n,1151.27, 0.001);
BOOST_WARN_EQUAL(temp,372.414);
BOOST_CHECK_CLOSE(temp,372.414, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test208 ){
pressure = 14.2122;
n = 798.543;
temp = 396.919;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 4.0;
const double volume = 6401.88;
const double pumpVolume = 110.872;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.8718);
BOOST_CHECK_CLOSE(pressure,14.8718, 0.001);
BOOST_WARN_EQUAL(n,855.315);
BOOST_CHECK_CLOSE(n,855.315, 0.001);
BOOST_WARN_EQUAL(temp,387.771);
BOOST_CHECK_CLOSE(temp,387.771, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test209 ){
pressure = 14.0964;
n = 3.31;
temp = 397.209;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 6.0;
const double volume = 26.7737;
const double pumpVolume = 0.451259;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.0465);
BOOST_CHECK_CLOSE(pressure,15.0465, 0.001);
BOOST_WARN_EQUAL(n,3.65916);
BOOST_CHECK_CLOSE(n,3.65916, 0.001);
BOOST_WARN_EQUAL(temp,383.525);
BOOST_CHECK_CLOSE(temp,383.525, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test210 ){
pressure = 14.0093;
n = 6.77533;
temp = 395.755;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 5.0;
const double volume = 54.9427;
const double pumpVolume = 1.09558;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,15.2043);
BOOST_CHECK_CLOSE(pressure,15.2043, 0.001);
BOOST_WARN_EQUAL(n,7.47833);
BOOST_CHECK_CLOSE(n,7.47833, 0.001);
BOOST_WARN_EQUAL(temp,389.137);
BOOST_CHECK_CLOSE(temp,389.137, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test211 ){
pressure = 15.0606;
n = 9.67843;
temp = 403.468;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 3.0;
const double volume = 74.4291;
const double pumpVolume = 0.0963461;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,true);
BOOST_WARN_EQUAL(pressure,14.2025);
BOOST_CHECK_CLOSE(pressure,14.2025, 0.001);
BOOST_WARN_EQUAL(n,9.71606);
BOOST_CHECK_CLOSE(n,9.71606, 0.001);
BOOST_WARN_EQUAL(temp,379.007);
BOOST_CHECK_CLOSE(temp,379.007, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,true);
BOOST_CHECK_EQUAL(varMelted,true);
}
BOOST_AUTO_TEST_CASE( test212 ){
pressure = 5.64694;
n = 2.12568;
temp = 313.883;
counter = 1.0;
varBursted = 1.0;
varMelted = 1.0;
const int pumps = 2.0;
const double volume = 33.9174;
const double pumpVolume = 7.14724;
bool tyreMelted;
bool tyreBursted;
pumpExtended(&pumps, &volume, &pumpVolume, &tyreMelted, &tyreBursted);
BOOST_CHECK_EQUAL(tyreMelted,true);
BOOST_CHECK_EQUAL(tyreBursted,false);
BOOST_WARN_EQUAL(pressure,11.5387);
BOOST_CHECK_CLOSE(pressure,11.5387, 0.001);
BOOST_WARN_EQUAL(n,3.11594);
BOOST_CHECK_CLOSE(n,3.11594, 0.001);
BOOST_WARN_EQUAL(temp,437.544);
BOOST_CHECK_CLOSE(temp,437.544, 0.001);
BOOST_CHECK_EQUAL(counter,0);
BOOST_CHECK_EQUAL(varBursted,false);
BOOST_CHECK_EQUAL(varMelted,true);
}
